﻿
function addNumbers(a, b) {
    return 5;
}

Function.prototype.method = function (name, func) {
    if (!this.prototype[name]) {
        this.prototype[name] = func;
        return this;
    }
};

Number.method('even', function () {
    return this % 2 === 0;
});